package com.gss.stockLedger.service;

public class ThreadCounter {
	
	private int numberOfThreads;

	public int getNumberOfThreads() {
		return numberOfThreads;
	}

	public void setNumberOfThreads(int numberOfThreads) {
		synchronized (this) {
			this.numberOfThreads+= numberOfThreads;
		}
	}

}
